package com.quanyan.stadium.entity;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbPKEventExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbPKEventExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNull() {
            addCriterion("category_id is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNotNull() {
            addCriterion("category_id is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdEqualTo(Integer value) {
            addCriterion("category_id =", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotEqualTo(Integer value) {
            addCriterion("category_id <>", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThan(Integer value) {
            addCriterion("category_id >", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("category_id >=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThan(Integer value) {
            addCriterion("category_id <", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("category_id <=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIn(List<Integer> values) {
            addCriterion("category_id in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotIn(List<Integer> values) {
            addCriterion("category_id not in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("category_id between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("category_id not between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andFromUidIsNull() {
            addCriterion("from_uid is null");
            return (Criteria) this;
        }

        public Criteria andFromUidIsNotNull() {
            addCriterion("from_uid is not null");
            return (Criteria) this;
        }

        public Criteria andFromUidEqualTo(Integer value) {
            addCriterion("from_uid =", value, "fromUid");
            return (Criteria) this;
        }

        public Criteria andFromUidNotEqualTo(Integer value) {
            addCriterion("from_uid <>", value, "fromUid");
            return (Criteria) this;
        }

        public Criteria andFromUidGreaterThan(Integer value) {
            addCriterion("from_uid >", value, "fromUid");
            return (Criteria) this;
        }

        public Criteria andFromUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("from_uid >=", value, "fromUid");
            return (Criteria) this;
        }

        public Criteria andFromUidLessThan(Integer value) {
            addCriterion("from_uid <", value, "fromUid");
            return (Criteria) this;
        }

        public Criteria andFromUidLessThanOrEqualTo(Integer value) {
            addCriterion("from_uid <=", value, "fromUid");
            return (Criteria) this;
        }

        public Criteria andFromUidIn(List<Integer> values) {
            addCriterion("from_uid in", values, "fromUid");
            return (Criteria) this;
        }

        public Criteria andFromUidNotIn(List<Integer> values) {
            addCriterion("from_uid not in", values, "fromUid");
            return (Criteria) this;
        }

        public Criteria andFromUidBetween(Integer value1, Integer value2) {
            addCriterion("from_uid between", value1, value2, "fromUid");
            return (Criteria) this;
        }

        public Criteria andFromUidNotBetween(Integer value1, Integer value2) {
            addCriterion("from_uid not between", value1, value2, "fromUid");
            return (Criteria) this;
        }

        public Criteria andToUidIsNull() {
            addCriterion("to_uid is null");
            return (Criteria) this;
        }

        public Criteria andToUidIsNotNull() {
            addCriterion("to_uid is not null");
            return (Criteria) this;
        }

        public Criteria andToUidEqualTo(Integer value) {
            addCriterion("to_uid =", value, "toUid");
            return (Criteria) this;
        }

        public Criteria andToUidNotEqualTo(Integer value) {
            addCriterion("to_uid <>", value, "toUid");
            return (Criteria) this;
        }

        public Criteria andToUidGreaterThan(Integer value) {
            addCriterion("to_uid >", value, "toUid");
            return (Criteria) this;
        }

        public Criteria andToUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("to_uid >=", value, "toUid");
            return (Criteria) this;
        }

        public Criteria andToUidLessThan(Integer value) {
            addCriterion("to_uid <", value, "toUid");
            return (Criteria) this;
        }

        public Criteria andToUidLessThanOrEqualTo(Integer value) {
            addCriterion("to_uid <=", value, "toUid");
            return (Criteria) this;
        }

        public Criteria andToUidIn(List<Integer> values) {
            addCriterion("to_uid in", values, "toUid");
            return (Criteria) this;
        }

        public Criteria andToUidNotIn(List<Integer> values) {
            addCriterion("to_uid not in", values, "toUid");
            return (Criteria) this;
        }

        public Criteria andToUidBetween(Integer value1, Integer value2) {
            addCriterion("to_uid between", value1, value2, "toUid");
            return (Criteria) this;
        }

        public Criteria andToUidNotBetween(Integer value1, Integer value2) {
            addCriterion("to_uid not between", value1, value2, "toUid");
            return (Criteria) this;
        }

        public Criteria andFromClubIdIsNull() {
            addCriterion("from_club_id is null");
            return (Criteria) this;
        }

        public Criteria andFromClubIdIsNotNull() {
            addCriterion("from_club_id is not null");
            return (Criteria) this;
        }

        public Criteria andFromClubIdEqualTo(Integer value) {
            addCriterion("from_club_id =", value, "fromClubId");
            return (Criteria) this;
        }

        public Criteria andFromClubIdNotEqualTo(Integer value) {
            addCriterion("from_club_id <>", value, "fromClubId");
            return (Criteria) this;
        }

        public Criteria andFromClubIdGreaterThan(Integer value) {
            addCriterion("from_club_id >", value, "fromClubId");
            return (Criteria) this;
        }

        public Criteria andFromClubIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("from_club_id >=", value, "fromClubId");
            return (Criteria) this;
        }

        public Criteria andFromClubIdLessThan(Integer value) {
            addCriterion("from_club_id <", value, "fromClubId");
            return (Criteria) this;
        }

        public Criteria andFromClubIdLessThanOrEqualTo(Integer value) {
            addCriterion("from_club_id <=", value, "fromClubId");
            return (Criteria) this;
        }

        public Criteria andFromClubIdIn(List<Integer> values) {
            addCriterion("from_club_id in", values, "fromClubId");
            return (Criteria) this;
        }

        public Criteria andFromClubIdNotIn(List<Integer> values) {
            addCriterion("from_club_id not in", values, "fromClubId");
            return (Criteria) this;
        }

        public Criteria andFromClubIdBetween(Integer value1, Integer value2) {
            addCriterion("from_club_id between", value1, value2, "fromClubId");
            return (Criteria) this;
        }

        public Criteria andFromClubIdNotBetween(Integer value1, Integer value2) {
            addCriterion("from_club_id not between", value1, value2, "fromClubId");
            return (Criteria) this;
        }

        public Criteria andToClubIdIsNull() {
            addCriterion("to_club_id is null");
            return (Criteria) this;
        }

        public Criteria andToClubIdIsNotNull() {
            addCriterion("to_club_id is not null");
            return (Criteria) this;
        }

        public Criteria andToClubIdEqualTo(Integer value) {
            addCriterion("to_club_id =", value, "toClubId");
            return (Criteria) this;
        }

        public Criteria andToClubIdNotEqualTo(Integer value) {
            addCriterion("to_club_id <>", value, "toClubId");
            return (Criteria) this;
        }

        public Criteria andToClubIdGreaterThan(Integer value) {
            addCriterion("to_club_id >", value, "toClubId");
            return (Criteria) this;
        }

        public Criteria andToClubIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("to_club_id >=", value, "toClubId");
            return (Criteria) this;
        }

        public Criteria andToClubIdLessThan(Integer value) {
            addCriterion("to_club_id <", value, "toClubId");
            return (Criteria) this;
        }

        public Criteria andToClubIdLessThanOrEqualTo(Integer value) {
            addCriterion("to_club_id <=", value, "toClubId");
            return (Criteria) this;
        }

        public Criteria andToClubIdIn(List<Integer> values) {
            addCriterion("to_club_id in", values, "toClubId");
            return (Criteria) this;
        }

        public Criteria andToClubIdNotIn(List<Integer> values) {
            addCriterion("to_club_id not in", values, "toClubId");
            return (Criteria) this;
        }

        public Criteria andToClubIdBetween(Integer value1, Integer value2) {
            addCriterion("to_club_id between", value1, value2, "toClubId");
            return (Criteria) this;
        }

        public Criteria andToClubIdNotBetween(Integer value1, Integer value2) {
            addCriterion("to_club_id not between", value1, value2, "toClubId");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIsNull() {
            addCriterion("begin_time is null");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIsNotNull() {
            addCriterion("begin_time is not null");
            return (Criteria) this;
        }

        public Criteria andBeginTimeEqualTo(Date value) {
            addCriterion("begin_time =", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotEqualTo(Date value) {
            addCriterion("begin_time <>", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeGreaterThan(Date value) {
            addCriterion("begin_time >", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("begin_time >=", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeLessThan(Date value) {
            addCriterion("begin_time <", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeLessThanOrEqualTo(Date value) {
            addCriterion("begin_time <=", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIn(List<Date> values) {
            addCriterion("begin_time in", values, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotIn(List<Date> values) {
            addCriterion("begin_time not in", values, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeBetween(Date value1, Date value2) {
            addCriterion("begin_time between", value1, value2, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotBetween(Date value1, Date value2) {
            addCriterion("begin_time not between", value1, value2, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTime1IsNull() {
            addCriterion("begin_time1 is null");
            return (Criteria) this;
        }

        public Criteria andBeginTime1IsNotNull() {
            addCriterion("begin_time1 is not null");
            return (Criteria) this;
        }

        public Criteria andBeginTime1EqualTo(Date value) {
            addCriterion("begin_time1 =", value, "beginTime1");
            return (Criteria) this;
        }

        public Criteria andBeginTime1NotEqualTo(Date value) {
            addCriterion("begin_time1 <>", value, "beginTime1");
            return (Criteria) this;
        }

        public Criteria andBeginTime1GreaterThan(Date value) {
            addCriterion("begin_time1 >", value, "beginTime1");
            return (Criteria) this;
        }

        public Criteria andBeginTime1GreaterThanOrEqualTo(Date value) {
            addCriterion("begin_time1 >=", value, "beginTime1");
            return (Criteria) this;
        }

        public Criteria andBeginTime1LessThan(Date value) {
            addCriterion("begin_time1 <", value, "beginTime1");
            return (Criteria) this;
        }

        public Criteria andBeginTime1LessThanOrEqualTo(Date value) {
            addCriterion("begin_time1 <=", value, "beginTime1");
            return (Criteria) this;
        }

        public Criteria andBeginTime1In(List<Date> values) {
            addCriterion("begin_time1 in", values, "beginTime1");
            return (Criteria) this;
        }

        public Criteria andBeginTime1NotIn(List<Date> values) {
            addCriterion("begin_time1 not in", values, "beginTime1");
            return (Criteria) this;
        }

        public Criteria andBeginTime1Between(Date value1, Date value2) {
            addCriterion("begin_time1 between", value1, value2, "beginTime1");
            return (Criteria) this;
        }

        public Criteria andBeginTime1NotBetween(Date value1, Date value2) {
            addCriterion("begin_time1 not between", value1, value2, "beginTime1");
            return (Criteria) this;
        }

        public Criteria andBeginTime2IsNull() {
            addCriterion("begin_time2 is null");
            return (Criteria) this;
        }

        public Criteria andBeginTime2IsNotNull() {
            addCriterion("begin_time2 is not null");
            return (Criteria) this;
        }

        public Criteria andBeginTime2EqualTo(Date value) {
            addCriterion("begin_time2 =", value, "beginTime2");
            return (Criteria) this;
        }

        public Criteria andBeginTime2NotEqualTo(Date value) {
            addCriterion("begin_time2 <>", value, "beginTime2");
            return (Criteria) this;
        }

        public Criteria andBeginTime2GreaterThan(Date value) {
            addCriterion("begin_time2 >", value, "beginTime2");
            return (Criteria) this;
        }

        public Criteria andBeginTime2GreaterThanOrEqualTo(Date value) {
            addCriterion("begin_time2 >=", value, "beginTime2");
            return (Criteria) this;
        }

        public Criteria andBeginTime2LessThan(Date value) {
            addCriterion("begin_time2 <", value, "beginTime2");
            return (Criteria) this;
        }

        public Criteria andBeginTime2LessThanOrEqualTo(Date value) {
            addCriterion("begin_time2 <=", value, "beginTime2");
            return (Criteria) this;
        }

        public Criteria andBeginTime2In(List<Date> values) {
            addCriterion("begin_time2 in", values, "beginTime2");
            return (Criteria) this;
        }

        public Criteria andBeginTime2NotIn(List<Date> values) {
            addCriterion("begin_time2 not in", values, "beginTime2");
            return (Criteria) this;
        }

        public Criteria andBeginTime2Between(Date value1, Date value2) {
            addCriterion("begin_time2 between", value1, value2, "beginTime2");
            return (Criteria) this;
        }

        public Criteria andBeginTime2NotBetween(Date value1, Date value2) {
            addCriterion("begin_time2 not between", value1, value2, "beginTime2");
            return (Criteria) this;
        }

        public Criteria andBeginTime3IsNull() {
            addCriterion("begin_time3 is null");
            return (Criteria) this;
        }

        public Criteria andBeginTime3IsNotNull() {
            addCriterion("begin_time3 is not null");
            return (Criteria) this;
        }

        public Criteria andBeginTime3EqualTo(Date value) {
            addCriterion("begin_time3 =", value, "beginTime3");
            return (Criteria) this;
        }

        public Criteria andBeginTime3NotEqualTo(Date value) {
            addCriterion("begin_time3 <>", value, "beginTime3");
            return (Criteria) this;
        }

        public Criteria andBeginTime3GreaterThan(Date value) {
            addCriterion("begin_time3 >", value, "beginTime3");
            return (Criteria) this;
        }

        public Criteria andBeginTime3GreaterThanOrEqualTo(Date value) {
            addCriterion("begin_time3 >=", value, "beginTime3");
            return (Criteria) this;
        }

        public Criteria andBeginTime3LessThan(Date value) {
            addCriterion("begin_time3 <", value, "beginTime3");
            return (Criteria) this;
        }

        public Criteria andBeginTime3LessThanOrEqualTo(Date value) {
            addCriterion("begin_time3 <=", value, "beginTime3");
            return (Criteria) this;
        }

        public Criteria andBeginTime3In(List<Date> values) {
            addCriterion("begin_time3 in", values, "beginTime3");
            return (Criteria) this;
        }

        public Criteria andBeginTime3NotIn(List<Date> values) {
            addCriterion("begin_time3 not in", values, "beginTime3");
            return (Criteria) this;
        }

        public Criteria andBeginTime3Between(Date value1, Date value2) {
            addCriterion("begin_time3 between", value1, value2, "beginTime3");
            return (Criteria) this;
        }

        public Criteria andBeginTime3NotBetween(Date value1, Date value2) {
            addCriterion("begin_time3 not between", value1, value2, "beginTime3");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNull() {
            addCriterion("pay_type is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNotNull() {
            addCriterion("pay_type is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualTo(Integer value) {
            addCriterion("pay_type =", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualTo(Integer value) {
            addCriterion("pay_type <>", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThan(Integer value) {
            addCriterion("pay_type >", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("pay_type >=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThan(Integer value) {
            addCriterion("pay_type <", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualTo(Integer value) {
            addCriterion("pay_type <=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeIn(List<Integer> values) {
            addCriterion("pay_type in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotIn(List<Integer> values) {
            addCriterion("pay_type not in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeBetween(Integer value1, Integer value2) {
            addCriterion("pay_type between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("pay_type not between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andMessageIsNull() {
            addCriterion("message is null");
            return (Criteria) this;
        }

        public Criteria andMessageIsNotNull() {
            addCriterion("message is not null");
            return (Criteria) this;
        }

        public Criteria andMessageEqualTo(String value) {
            addCriterion("message =", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotEqualTo(String value) {
            addCriterion("message <>", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageGreaterThan(String value) {
            addCriterion("message >", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageGreaterThanOrEqualTo(String value) {
            addCriterion("message >=", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLessThan(String value) {
            addCriterion("message <", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLessThanOrEqualTo(String value) {
            addCriterion("message <=", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLike(String value) {
            addCriterion("message like", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotLike(String value) {
            addCriterion("message not like", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageIn(List<String> values) {
            addCriterion("message in", values, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotIn(List<String> values) {
            addCriterion("message not in", values, "message");
            return (Criteria) this;
        }

        public Criteria andMessageBetween(String value1, String value2) {
            addCriterion("message between", value1, value2, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotBetween(String value1, String value2) {
            addCriterion("message not between", value1, value2, "message");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andGameSystemIsNull() {
            addCriterion("game_system is null");
            return (Criteria) this;
        }

        public Criteria andGameSystemIsNotNull() {
            addCriterion("game_system is not null");
            return (Criteria) this;
        }

        public Criteria andGameSystemEqualTo(String value) {
            addCriterion("game_system =", value, "gameSystem");
            return (Criteria) this;
        }

        public Criteria andGameSystemNotEqualTo(String value) {
            addCriterion("game_system <>", value, "gameSystem");
            return (Criteria) this;
        }

        public Criteria andGameSystemGreaterThan(String value) {
            addCriterion("game_system >", value, "gameSystem");
            return (Criteria) this;
        }

        public Criteria andGameSystemGreaterThanOrEqualTo(String value) {
            addCriterion("game_system >=", value, "gameSystem");
            return (Criteria) this;
        }

        public Criteria andGameSystemLessThan(String value) {
            addCriterion("game_system <", value, "gameSystem");
            return (Criteria) this;
        }

        public Criteria andGameSystemLessThanOrEqualTo(String value) {
            addCriterion("game_system <=", value, "gameSystem");
            return (Criteria) this;
        }

        public Criteria andGameSystemLike(String value) {
            addCriterion("game_system like", value, "gameSystem");
            return (Criteria) this;
        }

        public Criteria andGameSystemNotLike(String value) {
            addCriterion("game_system not like", value, "gameSystem");
            return (Criteria) this;
        }

        public Criteria andGameSystemIn(List<String> values) {
            addCriterion("game_system in", values, "gameSystem");
            return (Criteria) this;
        }

        public Criteria andGameSystemNotIn(List<String> values) {
            addCriterion("game_system not in", values, "gameSystem");
            return (Criteria) this;
        }

        public Criteria andGameSystemBetween(String value1, String value2) {
            addCriterion("game_system between", value1, value2, "gameSystem");
            return (Criteria) this;
        }

        public Criteria andGameSystemNotBetween(String value1, String value2) {
            addCriterion("game_system not between", value1, value2, "gameSystem");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}